---
status: active
updated: 2026-11-30
tags:
  - publictxt-web
  - dev/web
  - web/app
fork_remote: publictext
fork_repo: https://github.com/publictxt/publictext
fork_path: wiki/publictxt/projects/publictxt-web/PublicTxt Web.md
fork_branch: main
fork_commit: 037f9b7903f70ad60237470f6e99f1493c0a9843
fork_blob: da397276d2cb42956c8f4feaebb26659a2ddd9d5
fork_date: 2026-11-30T23:42:26+02:00
---
# PublicTxt Web

Web-facing parts of [PublicTxt](../../../../../wiki/Projects/PublicTxt/PublicTxt.md): services and clients that work with many PublicTxt repos at once, and an optional route in for people who don't use Git.

PublicTxt v1 (personal storage and publishing) works with Obsidian, the plugins and PublicTxt-Pages. PublicTxt Web adds what one person's machine can't do well: following repos at scale, discovery across the network, and contributing from a browser.

## Principles

These apply to every component. They take precedence over any feature.

- **Git is the source of truth.** Every site and index is a Git repo that anyone can clone. No component is ever the only copy. (ADR-0003, as amended for committed indexes; see [PublicTxt Aggregator](PublicTxt%20Aggregator.md).)
- **Same format everywhere.** Pages written on the web, in Obsidian or by the CLI are the same files under the [spec](../../../../../community/publictext/wiki/publictxt/docs/spec/publictxt-spec.md). Users of any tool can follow and fork each other.
- **No lock-in.** Leaving means cloning and pointing a domain somewhere else. Nothing that matters lives only in a database.
- **Paid for convenience, not content.** The free path (a Git host plus [PublicTxt Pages](../PublicTxt-Pages/PublicTxt%20Pages.md)) keeps doing everything that matters.
- **Consent over reach.** Aggregation is opt-in, or limited to trusted public repos. Opt-out is always honoured.
- **Obsidian first.** Custom clients wait until a workflow can't be done with Obsidian, the CLI and the static site. (ADR-0008)

## Components

| Component                                                       | What it is                                                                                                                                 | Status                | Unparks when                                  |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------- | --------------------------------------------- |
| [PublicTxt Aggregator](PublicTxt%20Aggregator.md)               | Server that follows many repos, keeps an index and commits it to a public Git repo                                                         | Active (Elixir spike) | —                                             |
| [PublicTxt Index Repository](PublicTxt%20Index%20Repository.md) | Public Git repo an aggregator (or anyone) publishes: the durable discovery layer. Format: [Discovery Index](discovery-index.md) | Draft                 | — (spec before the committer is built)        |
| [PublicTxt Web Client](PublicTxt%20Web%20Client.md)             | Browser UI to read, search, follow, fork and edit                                                                                          | Parked                | Someone who won't use Git wants to contribute |
| [PublicTxt Web Hosting](PublicTxt%20Web%20Hosting.md)           | Hosted sites (`yoursite.publictext.net`) built on the client and aggregator                                                                | Parked                | The Web Client exists and has users           |

How they relate:

```
Author repos (Obsidian / CLI / Web Client)
        │  git fetch (poll / webhook)
        ▼
Aggregator ──commit──► Index repo (public Git) ◄──clone── other aggregators, clients, anyone
        │  API / feeds
        ▼
Web Client  ·  PublicTxt-Pages  ·  Obsidian Remotes plugin
```

## What exists today vs target

| Capability | Today | Target (Web) |
| --- | --- | --- |
| Write and edit pages | Obsidian or any Markdown editor | Web Client editor (parked) |
| Follow repos; mirror and fork pages | [Obsidian PublicTxt Remotes](../obsidian-plugins/publictxt-remotes/Obsidian%20PublicTxt%20Remotes%20Plugin.md), one machine | Aggregator follows at scale; clients subscribe |
| Browse by facets, search | [PublicTxt Facets](../obsidian-plugins/publictxt-facets/Obsidian%20PublicTxt%20Facets%20Plugin.md), [PublicTxt Pages](../PublicTxt-Pages/PublicTxt%20Pages.md), one repo | Cross-repo search over index repos |
| Publish | PublicTxt-Pages on GitHub Pages | Unchanged; hosting is optional |
| Discover repos | Word of mouth, manual follow | Index repos plus trust lists, federated between publishers |

## Glossary

- **Aggregator:** the running service. It follows source repos, builds an in-memory index and commits snapshots to an index repo.
- **Index repo:** a public Git repo holding an index snapshot in the [Discovery Index](discovery-index.md) format. There can be many. It is usable with no aggregator running.
- **Node:** network shorthand for one publisher: an index repo plus its trust list (usually maintained by an aggregator).
- **Follower:** an aggregator process that tracks one source repo.
- **Content repo:** an ordinary PublicTxt repo under the [spec](../../../../../community/publictext/wiki/publictxt/docs/spec/publictxt-spec.md); the opposite of an index repo.
- **Source adapter:** code that reads a non-PublicTxt source (for example an Agora garden) into the index model.
- **Trust list:** a Git-stored list of repos (and other index repos) a publisher follows without an explicit opt-in.
- **Resource:** a thing being bookmarked or described, identified by `resource_id` (a hash of the normalised URL).
- **Site:** a PublicTxt repo published as a website.

## Related

- Specs: [PublicTxt spec](../../../../../community/publictext/wiki/publictxt/docs/spec/publictxt-spec.md) · [Discovery Index](discovery-index.md) (draft) · `spec/consent-and-trust.md` (todo)
- Decisions: [ADR-0003](../../../../../community/publictext/wiki/publictxt/docs/adr/0003-git-is-the-source-of-truth.md) (Git as source of truth / derived data) · ADR-0008 (Obsidian first) · ADR for Elixir aggregator (todo) · ADR for committed index (todo)
- [Design log](../../../../../README.md)
- Journal: [Learning Elixir by building a Discovery Node](../../../../../blog/2026/20261126-Learning%20Elixir%20by%20building%20a%20Discovery%20Node%20for%20PublicTxt.md)
